const apiPrefix = '/mockAPI'

module.exports = {
  name: '外联平台',
  prefix: 'YQ',
  logo: '/public/logo.svg',
  iconFontCSS: '/public/orgine/iconfont.css',
  iconFontJS: '/public/orgine/iconfont.js',
  openPages: ['/login'],        //未登陆成功时可进入的开放页
  defaultPage: '/overview',     //登陆成功后进入的默认页
  apiPrefix,
  // 前端模拟api接口地址
  api: {
    dashboard: `${apiPrefix}/dashboard`,
    userLogin: `${apiPrefix}/user/login`,
    userLogout: `${apiPrefix}/user/logout`,
    overview: `${apiPrefix}/overview`,
    users: `${apiPrefix}/users`,
    user: `${apiPrefix}/user/:id`,
    headermenus: `${apiPrefix}/headermenus`,
    menus: `${apiPrefix}/menus`,
    prodmenus: `${apiPrefix}/prodmenus`,
    statecodelist: `${apiPrefix}/statecodelist`,
    codeList:`${apiPrefix}/codeList`,
    selectData:`${apiPrefix}/selectData`,
  },
  // 代理字段
  call: {
    self: `call/self`,           //部署时注掉！部署时注掉！部署时注掉！
    shuzhang: `/call/shuzhang`,  //部署时注掉！部署时注掉！部署时注掉！
    lyq: `call/lyq`,             //部署时注掉！部署时注掉！部署时注掉！
  },
  isCiphertext: true,            //是否密文请求
  ENV: "dev",                    //当前环境 dev开发 test测试 product生产
  // 请求头配置
  head: {
    version: "1.0",
    encrypt_type: "AES", 
  },
}
